package lab02.test7;

/**
 * Created by dell on 2017/10/19.
 */
public class person {
    //1.属性：人名、年龄、身份证号等信息
    String name;
    int age;
    String idcared;

    //行为：将属性信息作为字符串返回
    String getString(){
        return name + "|" + age + "|" + idcared;
    }
}
